package com.bootdo.shop.dao;

import com.bootdo.shop.domain.ShopDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 门店表
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-04-26 14:34:54
 */
@Mapper
public interface ShopDao {

	ShopDO get(Long shopId);
	
	List<ShopDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(ShopDO shop);
	
	int update(ShopDO shop);
	
	int remove(Long shop_id);
	
	int batchRemove(Long[] shopIds);
	
	List<ShopDO> getShop(@Param("name") String name,@Param("id") Long id);
	
}
